package com.huangpuweb.api.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class HpDianZhaoDianPaiInfoRowMapper implements RowMapper<HpDianZhaoDianPaiInfo>{



	@Override
	public HpDianZhaoDianPaiInfo mapRow(ResultSet rs, int rowNum) throws SQLException {
		HpDianZhaoDianPaiInfo  lj= new HpDianZhaoDianPaiInfo();
		lj.setId(rs.getInt("id"));
		lj.setName(rs.getString("name"));
		lj.setAddress(rs.getString("address"));
		lj.setBaiduLatitude(rs.getString("BaiduLatitude"));
		lj.setBaiduLongitude(rs.getString("BaiduLongitude"));
		lj.setWgs84Latitude(rs.getString("wgs84Latitude"));
		lj.setWgs84Longitude(rs.getString("wgs84Longitude"));
		lj.setStreet(rs.getString("street"));
		lj.setLength(rs.getString("length"));
		lj.setHeight(rs.getString("height"));
		lj.setConnectmobile(rs.getString("connectmobile"));
		lj.setConnectname(rs.getString("connectname"));
		lj.setImageurl(rs.getString("imageurl"));
		lj.setXingshi(rs.getString("xingshi"));
		lj.setLiqiangjuli(rs.getString("liqiangjuli"));
		lj.setBiaogao(rs.getString("biaogao"));
		lj.setLevel(rs.getString("level"));
		lj.setIconimageurl(rs.getString("iconimageurl"));
		return lj;
	}

}
